<?php 	if (!$this->ion_auth->logged_in()) 
		    		return;
?>
			<ul id="navigation">			
				<li>
					<a class="head" href="<?php echo base_url().'index.php';?>">Main</a>
				</li>
				<li>
					<a class="head" href="<?php echo base_url().'index.php/intervention_list';?>">Clinical Interventions</a>
					<ul>
						<li><a href="<?php echo base_url().'index.php/intervention_list/auto_add';?>">Add Interventions</a></li>
					</ul>
				</li>
				<li>
					<a class="head" href="<?php echo base_url().'index.php/patient_list';?>">Patients</a>
				</li>
				<li>
					<a class="head" href="<?php echo base_url().'index.php/report';?>">Reports</a>
				</li>
				<li>

					<a class="head" >Setup</a>
					<ul>
						<li><a href="<?php echo base_url().'index.php/pharmacist_list';?>">Pharmacists</a></li>
						<li><a href="<?php echo base_url().'index.php/physician_list';?>">Physicians</a></li>
						<li><a href="<?php echo base_url().'index.php/physician_group_list';?>">Physician Groups</a></li>
						<li><a href="<?php echo base_url().'index.php/unit_patient_location_list';?>">Unit/Patient Location</a></li>
					</ul> 
				</li>
				
				<li>
					<a class="head" href="<?php echo base_url().'index.php/auth/change_password';?>">My Account</a>
				</li>	
				<li>
					<a class="head" href="<?php echo $this->master_view_functions->get_user_facility_url();?>">Return to Sharepoint</a>
				</li>			
				<?php if ($this->ion_auth->is_admin()): ?>
				<li>
					<a class="head" >Administrative</a>
					<ul>
						<li><a href="<?php echo base_url().'index.php/user_list/';?>">Users List</a></li>
						<li><a href="<?php echo base_url().'index.php/auth/create_user';?>">Create User</a></li>
						<?php  //<li><a href="<?php echo base_url().'index.php/auth/';"? >Users</a></li>
						//<li><a href="<?php echo base_url().'index.php/auth/';? >">User Groups</a></li>?>
						<li><a href="<?php echo base_url().'index.php/facility_list/';?>">Facilities</a></li>
						<li><a href="<?php echo base_url().'index.php/drug_list/';?>">Drug List</a></li>
						<li><a href="<?php echo base_url().'index.php/admin_email/';?>">Send Announcement</a></li>
					</ul> 
				</li>
				<?php endif; ?>

			</ul>

<?php //Apparently, brs below needed to make sure setup is right size?>
<br><br><br><br></br><br><br><br></br>